import request from '@/utils/request'

export function getData(params) {
    return request({
        url: '/marketing/jpush/findJpushMessageList',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'pageNum': params.pageNum,
        'pageSize': params.pageSize
        },
        method: 'get',
    })
}

export function findPage() {
    return request({
        url: '/operate/confDict/getConfDictList',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'get',
    })
}
export function update(data) {
    return request({
        url: '/marketing/jpush/updateJpushMessage',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'post',
        data
    })
}
